home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / gfx / x11 / x3270_3_2_16.lha / amiga_src / trace_dsc.h < prev    next >
C/C++ Source or Header  |  2009-02-26  |  2KB  |  54 lines

  1. /*
  2.  * Copyright 1995, 1999 by Paul Mattes.
  3.  *  Permission to use, copy, modify, and distribute this software and its
  4.  *  documentation for any purpose and without fee is hereby granted,
  5.  *  provided that the above copyright notice appear in all copies and that
  6.  *  both that copyright notice and this permission notice appear in
  7.  *  supporting documentation.
  8.  */
  9.  
  10. /*
  11.  *    trace_dsc.h
  12.  *        Global declarations for trace_ds.c.
  13.  */
  14.  
  15. #if defined(X3270_TRACE) /*[*/
  16.  
  17. extern FILE *tracef;
  18. extern Boolean trace_skipping;
  19.  
  20. const char *rcba(int baddr);
  21. const char *see_aid(unsigned char code);
  22. const char *see_attr(unsigned char fa);
  23. #if defined(X3270_DISPLAY) /*[*/
  24. const char *see_color(unsigned char setting);
  25. #endif /*]*/
  26. const char *see_ebc(unsigned char ch);
  27. const char *see_efa(unsigned char efa, unsigned char value);
  28. const char *see_efa_only(unsigned char efa);
  29. const char *see_qcode(unsigned char id);
  30. void toggle_dsTrace(struct toggle *t, enum toggle_type tt);
  31. void toggle_eventTrace(struct toggle *t, enum toggle_type tt);
  32. void toggle_screenTrace(struct toggle *t, enum toggle_type tt);
  33. void trace_ansi_disc(void);
  34. void trace_char(char c);
  35. void trace_ds(const char *fmt, ...);
  36. void trace_event(const char *fmt, ...);
  37. void trace_screen(void);
  38.  
  39. #else /*][*/
  40.  
  41. #define tracef 0
  42. #define trace_ds 0 &&
  43. #define trace_event 0 &&
  44. #define rcba 0 &&
  45. #define see_aid 0 &&
  46. #define see_attr 0 &&
  47. #define see_color 0 &&
  48. #define see_ebc 0 &&
  49. #define see_efa 0 &&
  50. #define see_efa_only 0 &&
  51. #define see_qcode 0 &&
  52.  
  53. #endif /*]*/
  54.